package com.redisdemo.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * <h3>redisDemo</h3>
 * <p>测试</p>
 *
 * @author gdw
 * @since 2024-06-25 17:25:02
 */
@RestController
public class DemoController {
    @Autowired
    private HelloController helloController;

    @GetMapping("/demo")
    public Map<String,Object> demo(){
        return helloController.demo();
    }
}
